package com.iot.modbus.event.pojo;


import java.util.List;

public class DeviceMessage {

    /**
     * 设备id
     */
    private String deviceId;

    /**
     * 设备名称
     */
    private String deviceName;

    private List<MetricMessage> metrics;

    public DeviceMessage(String deviceId, String deviceName) {
        this.deviceId = deviceId;
        this.deviceName = deviceName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }


    public List<MetricMessage> getMetrics() {
        return metrics;
    }

    public void setMetrics(List<MetricMessage> metrics) {
        this.metrics = metrics;
    }
}
